package com.jwater.core.manager.common.model;

import com.jwater.core.metrics.GcInfo;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: jnner
 * @createDate: 2021/3/5
 * @version: 1.0
 */
public class ReportInfo implements Serializable {
    private String key;
    private String host;
    private int pid;
    private double heapMemory;
    private double nonHeapMemory;
    private int liveThreadCount;
    private List<GcInfo> gcInfos;
    private long uptime;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public double getHeapMemory() {
        return heapMemory;
    }

    public void setHeapMemory(double heapMemory) {
        this.heapMemory = heapMemory;
    }

    public double getNonHeapMemory() {
        return nonHeapMemory;
    }

    public void setNonHeapMemory(double nonHeapMemory) {
        this.nonHeapMemory = nonHeapMemory;
    }

    public int getLiveThreadCount() {
        return liveThreadCount;
    }

    public void setLiveThreadCount(int liveThreadCount) {
        this.liveThreadCount = liveThreadCount;
    }

    public List<GcInfo> getGcInfos() {
        return gcInfos;
    }

    public void setGcInfos(List<GcInfo> gcInfos) {
        this.gcInfos = gcInfos;
    }

    public long getUptime() {
        return uptime;
    }

    public void setUptime(long uptime) {
        this.uptime = uptime;
    }
}
